﻿@{
    ViewBag.Title = "ShowCart";
    Layout = "";
}

<h2>ShowCart</h2>
@*<b>Count:</b> @ViewBag.CartCount
<br />
<b>Total:</b> @ViewBag.CartTotal
<br />*@
@foreach (var item in @ViewBag.Items)
{
    <b>@item.Product.Name</b>    <small>@item.Count</small> @Html.ActionLink("Remove","RemoveFromCart",new{id=item.Product.Id})<br />
}